﻿<?php
session_start();
$start = time();
$root = dirname(__FILE__);
define('ROOT', $root.'/..');
include "func.php";
$config = include $root."\\config\\main.php";
include "xphp.php";

$app = xphp::getInstance($config);
$app->run();

$app->terminate();
